package com.njwb.day15.zqzb.method.proxy;

public class RealSubject implements Subject {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public RealSubject(String name) {
        this.name = name;
    }

    @Override
    public void getMoney() {
        System.out.println("还钱！！！！");
    }
}
